package org.itboys.core.entity.mysql;

import org.itboys.mysql.entity.BaseMySqlEntity;

import java.math.BigDecimal;

/**
 * @Author：贾琦磊
 * @Date：2018/8/15
 * @Description：出库单附表
 */
public class SundayOutStoreOrderSKU extends BaseMySqlEntity{
    /**
     * SKU商品id
     */
    private Long SKUId;
    /**
     * 入库单据id
     */
    private Long orderId;
    /**
     * 数量，单品数量
     */
    private Integer num;
    /**
     * 单价，从价格表里面取
     */
    private BigDecimal price;

    public SundayOutStoreOrderSKU() {
    }

    public SundayOutStoreOrderSKU(Long SKUId, Long orderId, Integer num, BigDecimal price) {
        this.SKUId = SKUId;
        this.orderId = orderId;
        this.num = num;
        this.price = price;
    }

    public Long getSKUId() {
        return SKUId;
    }

    public void setSKUId(Long SKUId) {
        this.SKUId = SKUId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
}
